home *** CD-ROM | disk | FTP | other *** search
- -- ctl bar mouseDown handler
- on moveSlider
- global DEBUG
- global gSliderStart, gSliderEnd, gSliderLength, gThumbSprite
- global gTimeTot
- global gPcVidSprite
-
- repeat while the mouseDown
-
- set theH = the mouseH
- if theH < gSliderStart then set theH = gSliderStart
- if theH > gSliderEnd then set theH = gSliderEnd
-
- set the locH of sprite gThumbSprite = theH
-
- set temp = integer((gTimeTot * (theH - gSliderStart)) / gSliderLength)
-
- if DEBUG then put "goToTime"
- set the movieTime of sprite gPcVidSprite = temp
-
- set the locH of sprite 46 = the mouseH
- set the locV of sprite 46 = the mouseV
-
- updateStage
- end repeat
-
- end moveSlider
-
- ------------------------------------------------------------
-
- on playVox
-
- puppetSound "voxInt"
- updateStage
-
- end playVox
-
- ------------------------------------------------------------
-
-